package com.zhan.ielts.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.zhan.frame.core.dao.BaseService;
import com.zhan.ielts.domain.CompositionCorrection;
import com.zhan.ielts.domain.vo.CompositionCorrectionVo;

public interface CompositionCorrectionService extends BaseService<CompositionCorrection> {

	public List<CompositionCorrection> fetchCompositionCorrection(CompositionCorrection entity);

	public Long queryCurdateCount();


	public <CompositionCorrectionVo extends CompositionCorrection>  Page<CompositionCorrectionVo> queryForTeacher(CompositionCorrection query, Pageable pageable);
	
	// public boolean checkSwitch(String type);
}
